package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excels;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专家抽取记录对象 sys_project_expert_extract
 * 
 * @author ruoyi
 * @date 2024-08-07
 */
public class SysProjectExpertExtract extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 抽取记录ID */
    private Long id;

    /** 项目ID */
    @Excel(name = "项目ID")
    private Long projectId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 抽取配置ID */
    @Excel(name = "抽取配置ID")
    private Long expertSelectId;

    /** 专家ID */
    @Excel(name = "专家ID")
    private String expertId;

    /** 专家名称 */
    @Excel(name = "专家名称")
    private String expertName;

    /** 抽取批次 */
    @Excel(name = "抽取批次")
    private String number;

    /** 抽取人 */
    @Excel(name = "抽取人")
    private String creater;

    /** 抽取人ID */
    @Excel(name = "抽取人ID")
    private Long createId;

    // 状态
    private String status;

    /**
     * 部门对象
     */
    @Excels({
            @Excel(name = "专家姓名", targetAttr = "expertName", type = Excel.Type.EXPORT),
            @Excel(name = "证件号码", targetAttr = "identityCode", type = Excel.Type.EXPORT),
            @Excel(name = "手机号码", targetAttr = "mobile", type = Excel.Type.EXPORT),
            @Excel(name = "专家品目", targetAttr = "expertCategoryName", type = Excel.Type.EXPORT),
            @Excel(name = "地区", targetAttr = "areaName", type = Excel.Type.EXPORT)
    })
    public SysExpert expert;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setExpertSelectId(Long expertSelectId)
    {
        this.expertSelectId = expertSelectId;
    }

    public Long getExpertSelectId()
    {
        return expertSelectId;
    }
    public void setExpertId(String expertId) 
    {
        this.expertId = expertId;
    }

    public String getExpertId() 
    {
        return expertId;
    }
    public void setExpertName(String expertName) 
    {
        this.expertName = expertName;
    }

    public String getExpertName() 
    {
        return expertName;
    }
    public void setCreater(String creater) 
    {
        this.creater = creater;
    }

    public String getCreater() 
    {
        return creater;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setNumber(String number){ this.number = number;}

    public String getNumber(){ return number;}

    public void setStatus(String status){ this.status = status; }
    public String getStatus(){ return status; }

    public void setExpert(SysExpert expert) {
        this.expert = expert;
    }

    public SysExpert getExpert() {
        return expert;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectId", getProjectId())
            .append("projectName", getProjectName())
            .append("expertSelectId", getExpertSelectId())
            .append("expertId", getExpertId())
            .append("expertName", getExpertName())
            .append("number", getNumber())
            .append("status", getStatus())
            .append("creater", getCreater())
            .append("createId", getCreateId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
